package com.hjb.service.domain.siteuser;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SiteUserFixedExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SiteUserFixedExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAddRateIsNull() {
            addCriterion("add_rate is null");
            return (Criteria) this;
        }

        public Criteria andAddRateIsNotNull() {
            addCriterion("add_rate is not null");
            return (Criteria) this;
        }

        public Criteria andAddRateEqualTo(BigDecimal value) {
            addCriterion("add_rate =", value, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateNotEqualTo(BigDecimal value) {
            addCriterion("add_rate <>", value, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateGreaterThan(BigDecimal value) {
            addCriterion("add_rate >", value, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("add_rate >=", value, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateLessThan(BigDecimal value) {
            addCriterion("add_rate <", value, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("add_rate <=", value, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateIn(List<BigDecimal> values) {
            addCriterion("add_rate in", values, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateNotIn(List<BigDecimal> values) {
            addCriterion("add_rate not in", values, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("add_rate between", value1, value2, "addRate");
            return (Criteria) this;
        }

        public Criteria andAddRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("add_rate not between", value1, value2, "addRate");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Integer value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Integer value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Integer value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Integer value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Integer value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Integer> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Integer> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Integer value1, Integer value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Integer value1, Integer value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductTimeIsNull() {
            addCriterion("product_time is null");
            return (Criteria) this;
        }

        public Criteria andProductTimeIsNotNull() {
            addCriterion("product_time is not null");
            return (Criteria) this;
        }

        public Criteria andProductTimeEqualTo(Integer value) {
            addCriterion("product_time =", value, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeNotEqualTo(Integer value) {
            addCriterion("product_time <>", value, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeGreaterThan(Integer value) {
            addCriterion("product_time >", value, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_time >=", value, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeLessThan(Integer value) {
            addCriterion("product_time <", value, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeLessThanOrEqualTo(Integer value) {
            addCriterion("product_time <=", value, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeIn(List<Integer> values) {
            addCriterion("product_time in", values, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeNotIn(List<Integer> values) {
            addCriterion("product_time not in", values, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeBetween(Integer value1, Integer value2) {
            addCriterion("product_time between", value1, value2, "productTime");
            return (Criteria) this;
        }

        public Criteria andProductTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("product_time not between", value1, value2, "productTime");
            return (Criteria) this;
        }

        public Criteria andReturnTypeIsNull() {
            addCriterion("return_type is null");
            return (Criteria) this;
        }

        public Criteria andReturnTypeIsNotNull() {
            addCriterion("return_type is not null");
            return (Criteria) this;
        }

        public Criteria andReturnTypeEqualTo(String value) {
            addCriterion("return_type =", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeNotEqualTo(String value) {
            addCriterion("return_type <>", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeGreaterThan(String value) {
            addCriterion("return_type >", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeGreaterThanOrEqualTo(String value) {
            addCriterion("return_type >=", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeLessThan(String value) {
            addCriterion("return_type <", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeLessThanOrEqualTo(String value) {
            addCriterion("return_type <=", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeLike(String value) {
            addCriterion("return_type like", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeNotLike(String value) {
            addCriterion("return_type not like", value, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeIn(List<String> values) {
            addCriterion("return_type in", values, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeNotIn(List<String> values) {
            addCriterion("return_type not in", values, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeBetween(String value1, String value2) {
            addCriterion("return_type between", value1, value2, "returnType");
            return (Criteria) this;
        }

        public Criteria andReturnTypeNotBetween(String value1, String value2) {
            addCriterion("return_type not between", value1, value2, "returnType");
            return (Criteria) this;
        }

        public Criteria andInterestDateIsNull() {
            addCriterion("interest_date is null");
            return (Criteria) this;
        }

        public Criteria andInterestDateIsNotNull() {
            addCriterion("interest_date is not null");
            return (Criteria) this;
        }

        public Criteria andInterestDateEqualTo(String value) {
            addCriterion("interest_date =", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateNotEqualTo(String value) {
            addCriterion("interest_date <>", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateGreaterThan(String value) {
            addCriterion("interest_date >", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateGreaterThanOrEqualTo(String value) {
            addCriterion("interest_date >=", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateLessThan(String value) {
            addCriterion("interest_date <", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateLessThanOrEqualTo(String value) {
            addCriterion("interest_date <=", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateLike(String value) {
            addCriterion("interest_date like", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateNotLike(String value) {
            addCriterion("interest_date not like", value, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateIn(List<String> values) {
            addCriterion("interest_date in", values, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateNotIn(List<String> values) {
            addCriterion("interest_date not in", values, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateBetween(String value1, String value2) {
            addCriterion("interest_date between", value1, value2, "interestDate");
            return (Criteria) this;
        }

        public Criteria andInterestDateNotBetween(String value1, String value2) {
            addCriterion("interest_date not between", value1, value2, "interestDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateIsNull() {
            addCriterion("cash_return_date is null");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateIsNotNull() {
            addCriterion("cash_return_date is not null");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateEqualTo(String value) {
            addCriterion("cash_return_date =", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateNotEqualTo(String value) {
            addCriterion("cash_return_date <>", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateGreaterThan(String value) {
            addCriterion("cash_return_date >", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateGreaterThanOrEqualTo(String value) {
            addCriterion("cash_return_date >=", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateLessThan(String value) {
            addCriterion("cash_return_date <", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateLessThanOrEqualTo(String value) {
            addCriterion("cash_return_date <=", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateLike(String value) {
            addCriterion("cash_return_date like", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateNotLike(String value) {
            addCriterion("cash_return_date not like", value, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateIn(List<String> values) {
            addCriterion("cash_return_date in", values, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateNotIn(List<String> values) {
            addCriterion("cash_return_date not in", values, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateBetween(String value1, String value2) {
            addCriterion("cash_return_date between", value1, value2, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andCashReturnDateNotBetween(String value1, String value2) {
            addCriterion("cash_return_date not between", value1, value2, "cashReturnDate");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andExpectInterestIsNull() {
            addCriterion("expect_interest is null");
            return (Criteria) this;
        }

        public Criteria andExpectInterestIsNotNull() {
            addCriterion("expect_interest is not null");
            return (Criteria) this;
        }

        public Criteria andExpectInterestEqualTo(BigDecimal value) {
            addCriterion("expect_interest =", value, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestNotEqualTo(BigDecimal value) {
            addCriterion("expect_interest <>", value, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestGreaterThan(BigDecimal value) {
            addCriterion("expect_interest >", value, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_interest >=", value, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestLessThan(BigDecimal value) {
            addCriterion("expect_interest <", value, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_interest <=", value, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestIn(List<BigDecimal> values) {
            addCriterion("expect_interest in", values, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestNotIn(List<BigDecimal> values) {
            addCriterion("expect_interest not in", values, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_interest between", value1, value2, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectInterestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_interest not between", value1, value2, "expectInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestIsNull() {
            addCriterion("expect_add_interest is null");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestIsNotNull() {
            addCriterion("expect_add_interest is not null");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestEqualTo(BigDecimal value) {
            addCriterion("expect_add_interest =", value, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestNotEqualTo(BigDecimal value) {
            addCriterion("expect_add_interest <>", value, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestGreaterThan(BigDecimal value) {
            addCriterion("expect_add_interest >", value, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_add_interest >=", value, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestLessThan(BigDecimal value) {
            addCriterion("expect_add_interest <", value, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_add_interest <=", value, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestIn(List<BigDecimal> values) {
            addCriterion("expect_add_interest in", values, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestNotIn(List<BigDecimal> values) {
            addCriterion("expect_add_interest not in", values, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_add_interest between", value1, value2, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectAddInterestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_add_interest not between", value1, value2, "expectAddInterest");
            return (Criteria) this;
        }

        public Criteria andExpectCouponIsNull() {
            addCriterion("expect_coupon is null");
            return (Criteria) this;
        }

        public Criteria andExpectCouponIsNotNull() {
            addCriterion("expect_coupon is not null");
            return (Criteria) this;
        }

        public Criteria andExpectCouponEqualTo(BigDecimal value) {
            addCriterion("expect_coupon =", value, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponNotEqualTo(BigDecimal value) {
            addCriterion("expect_coupon <>", value, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponGreaterThan(BigDecimal value) {
            addCriterion("expect_coupon >", value, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_coupon >=", value, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponLessThan(BigDecimal value) {
            addCriterion("expect_coupon <", value, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponLessThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_coupon <=", value, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponIn(List<BigDecimal> values) {
            addCriterion("expect_coupon in", values, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponNotIn(List<BigDecimal> values) {
            addCriterion("expect_coupon not in", values, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_coupon between", value1, value2, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectCouponNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_coupon not between", value1, value2, "expectCoupon");
            return (Criteria) this;
        }

        public Criteria andExpectTipIsNull() {
            addCriterion("expect_tip is null");
            return (Criteria) this;
        }

        public Criteria andExpectTipIsNotNull() {
            addCriterion("expect_tip is not null");
            return (Criteria) this;
        }

        public Criteria andExpectTipEqualTo(BigDecimal value) {
            addCriterion("expect_tip =", value, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipNotEqualTo(BigDecimal value) {
            addCriterion("expect_tip <>", value, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipGreaterThan(BigDecimal value) {
            addCriterion("expect_tip >", value, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_tip >=", value, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipLessThan(BigDecimal value) {
            addCriterion("expect_tip <", value, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipLessThanOrEqualTo(BigDecimal value) {
            addCriterion("expect_tip <=", value, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipIn(List<BigDecimal> values) {
            addCriterion("expect_tip in", values, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipNotIn(List<BigDecimal> values) {
            addCriterion("expect_tip not in", values, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_tip between", value1, value2, "expectTip");
            return (Criteria) this;
        }

        public Criteria andExpectTipNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("expect_tip not between", value1, value2, "expectTip");
            return (Criteria) this;
        }

        public Criteria andChangeFlagIsNull() {
            addCriterion("change_flag is null");
            return (Criteria) this;
        }

        public Criteria andChangeFlagIsNotNull() {
            addCriterion("change_flag is not null");
            return (Criteria) this;
        }

        public Criteria andChangeFlagEqualTo(Integer value) {
            addCriterion("change_flag =", value, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagNotEqualTo(Integer value) {
            addCriterion("change_flag <>", value, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagGreaterThan(Integer value) {
            addCriterion("change_flag >", value, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("change_flag >=", value, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagLessThan(Integer value) {
            addCriterion("change_flag <", value, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagLessThanOrEqualTo(Integer value) {
            addCriterion("change_flag <=", value, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagIn(List<Integer> values) {
            addCriterion("change_flag in", values, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagNotIn(List<Integer> values) {
            addCriterion("change_flag not in", values, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagBetween(Integer value1, Integer value2) {
            addCriterion("change_flag between", value1, value2, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andChangeFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("change_flag not between", value1, value2, "changeFlag");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNull() {
            addCriterion("apply_date is null");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNotNull() {
            addCriterion("apply_date is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDateEqualTo(String value) {
            addCriterion("apply_date =", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotEqualTo(String value) {
            addCriterion("apply_date <>", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThan(String value) {
            addCriterion("apply_date >", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThanOrEqualTo(String value) {
            addCriterion("apply_date >=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThan(String value) {
            addCriterion("apply_date <", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThanOrEqualTo(String value) {
            addCriterion("apply_date <=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLike(String value) {
            addCriterion("apply_date like", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotLike(String value) {
            addCriterion("apply_date not like", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateIn(List<String> values) {
            addCriterion("apply_date in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotIn(List<String> values) {
            addCriterion("apply_date not in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateBetween(String value1, String value2) {
            addCriterion("apply_date between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotBetween(String value1, String value2) {
            addCriterion("apply_date not between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}